<script setup lang='ts'>
import Echarts from '@/views/Home/Echarts/index.vue'
defineOptions({
    name: 'PushGraph'
})



const options = {
    title: {
        show: true,
        text: '过去7天提交折线图',
    },
    xAxis: {
        type: 'category',
        data: ['2024/3/12', '2024/3/13', '2024/3/14', '2024/3/15', '2024/3/16', '2024/3/17', '2024/3/18']
    },
    yAxis: {
        type: 'value'
    },
    series: [
        {
            data: [2, 3, 5, 2, 8, 5, 4],
            type: 'line',
            smooth: true
        }
    ]
};

</script>

<template>
    <el-card shadow="never">

        <Echarts :options="options" :size="{ width: '100%', height: '500px' }"></Echarts>
    </el-card>
</template>

<style lang='scss' scoped>
.el-card {
    /*   display: flex;
    justify-content: center; */
}
</style>
